projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba9546f
)
notebook: don't force ACTIVE state flag on the label for active tab
author
Cosimo Cecchi
<cosimoc@gnome.org>
Wed, 18 Jan 2012 21:10:20 +0000
(16:10 -0500)
committer
Cosimo Cecchi
<cosimoc@gnome.org>
Wed, 18 Jan 2012 21:13:25 +0000
(16:13 -0500)
This is just wrong, since it's not the tab label being active, but the
tab itself.
gtk/gtknotebook.c
patch
|
blob
|
history
diff --git
a/gtk/gtknotebook.c
b/gtk/gtknotebook.c
index 32cdee71ee714d783f7f3547f20384b56c679f85..62a8535137b168e3fac1cf604a27d76cf9f19646 100644
(file)
--- a/
gtk/gtknotebook.c
+++ b/
gtk/gtknotebook.c
@@
-6508,10
+6508,12
@@
gtk_notebook_update_tab_states (GtkNotebook *notebook)
{
GtkRegionFlags current_flags;
+ /*
if (page == priv->cur_page)
gtk_widget_set_state_flags (page->tab_label, GTK_STATE_FLAG_ACTIVE, FALSE);
else
gtk_widget_unset_state_flags (page->tab_label, GTK_STATE_FLAG_ACTIVE);
+ */
/* FIXME: We should store these flags somewhere instead of poking
* the widget's path */